﻿using Ewell.Interface.Common.Model.Constant;
using Ewell.Interface.Common.Model.GateWay;
using Ewell.Interface.Common.Model.GateWay.Dto.Out;
using System;

namespace Ewell.Interface.Common.Model.GateWay.GateWayUriInfo
{
    public class ChargeOutDubboService : GateWayUri
    {
        public override string url => "dubbo/cc.ewell.his.out.service.inter.dubbo.ChargeOutDubboService";
        public GateWayMethod queryChargeInfo => new QueryChargeInfo(url);
    }
    public class QueryChargeInfo : GateWayMethod
    {
        public QueryChargeInfo(string baseUrl) : base(baseUrl)
        {
        }

        public override string methodName => "queryChargeInfo";

        public override string paramClass => "co.faao.plugin.transmission.request.MessageHeader";

        public override Type requestParamType => typeof(PricingChargeReq);

        public override Type responseParamType => typeof(PricingChargeResp);

        public override DubboParamType paramType => DubboParamType.messageheaderDoamin;
    }
}
